events_list = [
    {
        "id": "8",
        "name": "山地自行车越野赛",  # 该字段为志愿活动的标题
        "address": "广州市天河区",  # 该字段为志愿活动的地址
        "contactPhone": "13798761234",  # 该字段为志愿活动的联系电话
        "serviceType": "社区服务",  # 该字段为志愿活动的类型，可选类型：社区服务，教育支持，老年关怀，儿童关爱
        "serviceStart": "2024-03-14 08:00",  # 该字段为志愿活动开始的时间
        "serviceEnd": "2024-03-14 12:00",  # 该字段为志愿活动结束的时间
        "money": "150",  # 该字段为志愿活动可获取的时间币
        "introduce": "挑战山地自行车越野赛，感受速度与激情！",  # 该字段为志愿活动的内容
        "gender": "男",  # 该字段为志愿活动的推荐性别，如：男，女，不限
        "age": "18-24",  # 该字段为志愿活动的推荐年龄
        "peopleNum": "30",  # 该字段为志愿活动的参与人数
        "contactName": "周十",  # 该字段为志愿活动的联系人名字
    },
    {
        "id": "9",
        "name": "垃圾分类宣传活动",
        "address": "上海市黄浦区",
        "contactPhone": "13876543210",
        "serviceType": "社区服务",
        "serviceStart": "2024-03-15 09:00",
        "serviceEnd": "2024-03-15 11:00",
        "money": "100",
        "introduce": "一起来为环境保护出一份力吧！",
        "gender": "不限",
        "age": "不限",
        "peopleNum": "20",
        "contactName": "李五",
    },
    {
        "id": "10",
        "name": "老人陪伴活动",
        "address": "上海市黄浦区",
        "contactPhone": "13987654321",
        "serviceType": "社区服务",
        "serviceStart": "2024-03-16 10:00",
        "serviceEnd": "2024-03-16 12:00",
        "money": "80",
        "introduce": "陪伴老人，为他们送去温暖和关爱。",
        "gender": "不限",
        "age": "不限",
        "peopleNum": "10",
        "contactName": "王二",
    },
    {
        "id": "11",
        "name": "儿童读书分享会",
        "address": "广东省深圳市",
        "contactPhone": "13912345678",
        "serviceType": "教育支持",
        "serviceStart": "2024-03-17 14:00",
        "serviceEnd": "2024-03-17 16:00",
        "money": "50",
        "introduce": "为孩子们提供一个交流分享的平台。",
        "gender": "不限",
        "age": "不限",
        "peopleNum": "15",
        "contactName": "张三",
    },
    {
        "id": "12",
        "name": "社区园艺培训",
        "address": "广东省珠海市",
        "contactPhone": "13698765432",
        "serviceType": "社区服务",
        "serviceStart": "2024-03-18 13:00",
        "serviceEnd": "2024-03-18 15:00",
        "money": "70",
        "introduce": "学习园艺知识，享受种植的乐趣。",
        "gender": "不限",
        "age": "不限",
        "peopleNum": "25",
        "contactName": "赵六",
    },
    {
        "id": "13",
        "name": "义务家教辅导",
        "address": "广东省深圳市",
        "contactPhone": "13587654321",
        "serviceType": "教育支持",
        "serviceStart": "2024-03-19 16:00",
        "serviceEnd": "2024-03-19 18:00",
        "money": "90",
        "introduce": "为需要帮助的孩子提供免费的辅导。",
        "gender": "不限",
        "age": "不限",
        "peopleNum": "8",
        "contactName": "钱四",
    },
    {
        "id": "14",
        "name": "夏日水果摊位",
        "address": "广东省深圳市",
        "contactPhone": "13512345678",
        "serviceType": "社区服务",
        "serviceStart": "2024-03-20 11:00",
        "serviceEnd": "2024-03-20 13:00",
        "money": "60",
        "introduce": "在炎炎夏日，为大家提供清凉水果。",
        "gender": "不限",
        "age": "不限",
        "peopleNum": "12",
        "contactName": "孙一",
    },
    {
        "id": "15",
        "name": "医院陪护",
        "address": "广东省广州市",
        "contactPhone": "13787654321",
        "serviceType": "社区服务",
        "serviceStart": "2024-03-21 09:00",
        "serviceEnd": "2024-03-21 17:00",
        "money": "200",
        "introduce": "陪伴病人，给予他们关心和支持。",
        "gender": "不限",
        "age": "不限",
        "peopleNum": "6",
        "contactName": "李二",
    },
    {
        "id": "16",
        "name": "儿童乐园志愿者",
        "address": "广东省广州市",
        "contactPhone": "13612345678",
        "serviceType": "儿童关爱",
        "serviceStart": "2024-03-22 13:00",
        "serviceEnd": "2024-03-22 17:00",
        "money": "120",
        "introduce": "陪伴孩子们度过愉快的时光。",
        "gender": "女",
        "age": "18-30",
        "peopleNum": "10",
        "contactName": "王五",
    },
    {
        "id": "17",
        "name": "环境保护行动",
        "address": "上海市黄浦区",
        "contactPhone": "13712345678",
        "serviceType": "社区服务",
        "serviceStart": "2024-03-23 10:00",
        "serviceEnd": "2024-03-23 12:00",
        "money": "80",
        "introduce": "一起来保护环境，为地球做贡献！",
        "gender": "不限",
        "age": "不限",
        "peopleNum": "20",
        "contactName": "赵四",
    }
]

print(events_list[0]['address'].split("市")[0])
